﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
//IrisSkin2皮肤在使用WebBrowser的时候有窗体绘制BUG，目前尚未找到有效解决办法
namespace PayManage
{
    public partial class Calendar : Form
    {
        public Calendar()
        {
            InitializeComponent();            
            string path = Application.StartupPath + "\\Calendar.mht";
            //webBrowser.Url = new Uri(path);
            //webBrowser.Url = new System.Uri(path, System.UriKind.Absolute);
            //webBrowser.Navigate(new Uri(path));
            try
            {
                webBrowser.Navigate(new Uri(path));
            }
            catch (System.UriFormatException)
            {
                return;
            }
        }        
    }
}